import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入写好的表格标题组件
import tableTile from '@/components/tableTitle.vue'

// 导入echarts 库、
import * as echarts from 'echarts'


// 自己写的样式重置
// import './assets/style/reset.css'

// 导入安装的样式重置库  
import 'normalize.css/normalize.css';

//导入组件库
import ElementUI from 'element-ui';
//导入主题样式库
import 'element-ui/lib/theme-chalk/index.css';
// 引入wangeditor 编辑器的样式
import '@wangeditor/editor/dist/css/style.css'

//vue全局使用element - ui
Vue.use(ElementUI)
Vue.config.productionTip = false
// 将echarts挂载到vue原型上
Vue.prototype.$echarts = echarts
//注册成全局组件
Vue.component("tableTitle", tableTile)

// 挂载eventbus
Vue.prototype.$bus = new Vue({})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
